package com.bm.server.service.intf;

import com.bm.common.dto.DogkillDto;
import com.bm.common.vo.R;
import com.bm.server.entity.Dogkill;

/**
 * .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
 * |                     ______                     |
 * |                  .-"      "-.                  |
 * |                 /            \                 |
 * |     _          |              |          _     |
 * |    ( \         |,  .-.  .-.  ,|         / )    |
 * |     > "=._     | )(__/  \__)( |     _.=" <     |
 * |    (_/"=._"=._ |/     /\     \| _.="_.="\_)    |
 * |           "=._"(_     ^^     _)"_.="           |
 * |               "=\__|IIIIII|__/="               |
 * |              _.="| \IIIIII/ |"=._              |
 * |    _     _.="_.="\          /"=._"=._     _    |
 * |   ( \_.="_.="     `--------`     "=._"=._/ )   |
 * |    > _.="                            "=._ <    |
 * |   (_/                                    \_)   |
 * |                                                |
 * '-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
 * -----------------代码的搬运工-----------------
 *
 * @Date: 2022/07/21/11:55
 */
public interface DogkillService {
    //房间人数新增
    R save(DogkillDto dto);
    //统计房间人数
    R countuid(int roomid);
    //用户退出房间
    R deleteByUid(DogkillDto dto);
    //游戏开始
    R gameStart(int roomid);
    //狼人接口
    R wolfkillpeople(int uid);
    //查看自己的身份
    R selectByUid(int uid);
    //女巫救人接口
    R nvwusave(int roomid,String save);
    //女巫毒人接口
    R nvwukill(int roomid,String kill,int uid);
    //天亮执行死亡
    R deleteByid(int roomid,int uid);
    //判断好人是否胜利
    R isgameoverhao(int roomid);
    //判断坏人是否胜利
    R isgameoverhuai1(int roomid);
    //判断坏人是否胜利
    R isgameoverhuai2(int roomid);
    //投票阶段
    R toupiao(int roomid,int uid);
}
